* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

/* 设置版心 */
.w {
  width: 1200px;
  margin: 0 auto;
}

body {
  background-color: #f3f5f7;
}
/* 头部区域 */
.header {
  height: 42px;
  margin: 30px auto;
}

.logo {
  float: left;
  width: 196px;
  height: 42px;
  margin-right: 60px;
}

.nav {
  float: left;
}

.nav ul li {
  float: left;
  margin: 0 15px;
}

.nav ul li a {
  display: block;
  height: 42px;
  line-height: 42px;
  padding: 0 10px;
  font-size: 18px;
  color: #050505;
}

.nav ul li a:hover {
  border-bottom: 2px solid #00a4ff;
  color: #00a4ff;
}

.search {
  float: left;
  width: 412px;
  height: 42px;
  margin-left: 70px;
}

.search>input {
  float: left;
  width: 345px;
  height: 40px;
  border: 1px solid #00a4ff;
  border-right: 0;
  padding-left: 16px;
  color: #bfbfbf;
  font-size: 14px;
}

.search>button {
  float: left;
  width: 50px;
  height: 42px;
  /* 按钮button默认有个边框，需要我们去掉 */
  border: 0;
  background-image: url(images/btn.png);
}

.user {
  float: right;
  height: 42px;
  line-height: 42px;
  margin-right: 30px;
  color: #666;
  font-size: 14px;
}

.user img {
  vertical-align: middle;
}

.banner {
  height: 421px;
  background-color: #1c036c;
}

.banner .w {
  height: 421px;
  background: url(images/banner2_20190819_210028.png) no-repeat top center;
}

.subnav {
  float: left;
  width: 190px;
  height: 421px;
  background-color: rgba(0, 0, 0, .3);
}

.subnav ul {
  padding: 13px 0 12px;
}

.subnav ul li {
  height: 44px;
  line-height: 44px;
  padding: 0 20px;
}

.subnav ul li a {
  font-size: 14px;
  color: #fff;
}

.subnav ul li a:hover {
  color: #00b4ff;
}

.subnav ul li a span {
  float: right;
}
/* banner部分 */
.course {
  float: right;
  width: 230px;
  height: 300px;
  /* 浮动的元素不会有外边距塌陷问题 */
  margin-top: 50px;
  background-color: #fff;
}

.course h2 {
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-color: #9bceea;
}

.bd {
  padding: 0 18px;
  background-color: #fff;
}

.bd ul li {
  padding: 14px 0;
  border-bottom: 1px solid #ccc;
}

.bd ul li h3 {
  font-weight: 700;
  font-size: 16px;
  color: #4e4e4e;
}

.bd ul li p {
  font-size: 12px;
  color: #a5a5a5;
}

.bd .more {
  display: block;
  height: 38px;
  border: 1px solid #00a4ff;
  margin-top: 5px;
  font-size: 16px;
  line-height: 38px;
  color: #00a4ff;
  text-align: center;
}
/* 精品推荐 */
.goods {
  height: 60px;
  background-color: #fff;
  margin-top: 5px;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, .3);
  /* 行高会继承给 3个孩子 */
  line-height: 60px;
}

.goods h3 {
  float: left;
  margin-left: 30px;
  font-size: 16px;
  font-weight: 700;
  color: #00a4ff;
  text-align: center;
}

.item ul {
  float: left;
  margin-left: 30px;
}

.item ul li {
  float: left;
}

.item ul li a {
  font-size: 16px;
  padding: 0 35px;
  color: #050505;
  border-left: 1px solid #ccc;
}

.mod {
  float: right;
  display: block;
  margin-right: 60px;
  font-size: 14px;
  color: #00a4ff;
  text-align: center;
}

/* 精品推荐内容 */
.goodscontent {
  margin-top: 35px;
}
.goodsTitle {
  margin-bottom: 20px;
  height: 22px;
  line-height: 22px;
}

.goodsTitle h2 {
  float: left;
  font-size: 20px;
  color: #494949;
}

.goodsTitle a {
  float: right;
  display: block;
  margin-right: 30px;
  font-size: 12px;
  color: #a5a5a5;
  line-height: 26px;
}

.goodsList ul li {
  float: left;
  width: 228px;
  height: 271px;
  margin-right: 15px;
  margin-bottom: 15px;
  background-color: #fff;
}

.goodsList ul li img {
  width: 100%;
}
.goodsList .next {
  margin-right: 0;
}

.desc {
  margin: 24px 22px 0;
}

.desc h3 {
  height: 44px;
  line-height: 22px;
  font-size: 14px;
  color: #050505;
}

.desc .tips {
  margin-top: 10px;
}

.tips strong {
  font-size: 12px;
  color: #ff7c2d;
}

.tips em {
  display: inline-block;
  margin: 0 8px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #999999;
}

.tips span {
  font-size: 12px;
  color: #999999;
}